-- GENERATED SPELL FOR [Shambling Horror] --


function spell0_1528(pUnit, Event) --@Disease Touch,n/a--
pUnit:FullCastSpellOnTarget(3234,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1528', 665, 1)
end

function Sorts_1528(pUnit, Event)
local choix_sorts_1528 = math.random(0, 0)
if choix_sorts_1528 == 0 then
pUnit:RegisterEvent('spell0_1528', 1, 1)
end
end

function mob1528_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1528', math.random(1500, 3000), 1)
end

function mob1528_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1528_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1528_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1528, 1, 'mob1528_Action')
RegisterUnitEvent(1528, 2, 'mob1528_Leave')
RegisterUnitEvent(1528, 3, 'mob1528_Kill')
RegisterUnitEvent(1528, 4, 'mob1528_Die')
